package com.linkstec.quartz.config;

//import java.time.Instant;
//import java.time.ZoneOffset;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;


public class QuartzJob
{
	private static Logger logger = LoggerFactory.getLogger(QuartzJob.class);
    public void work()
    {
    	logger.info("Quartz的任务调度！！！,花费7秒");
/*    	logger.info(Instant.now().toString());
    	logger.info(Instant.now().atOffset(ZoneOffset.ofHours(8)).toString());*/
    	try {
			Thread.sleep(7000);
		} catch (InterruptedException e) {
			e.printStackTrace();
		}
    }
}